/**
 * RPCInterface.java
 * 
 * Interface necessary for client to communicate to server.
 * Defines possible communication methods
 * 
 * Based on tutorial from here:
 * http://examples.roughian.com/index.htm#Tutorials~RPC_To_Java
 */
package ocrs.client;

//import java.util.ArrayList;
//
//import ocrs.server.registeringSystem.Location;
//import ocrs.server.registeringSystem.Time;
//import ocrs.server.registeringSystem.User;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("userService")
public interface RPCInterface extends RemoteService{
	
	public String helloServer();
	public String saySomething(String message);
//	
//	/**
//	 * loginUser
//	 * @return true if login info is valid
//	 * 
//	 * : saves current user returned for access to all remaining pages
//	 */
//	public boolean loginUser(String userID, String password);
//	
//	/**
//	 * createNewUser
//	 * @return true is user created successfully
//	 */
//	public boolean createNewUser(String userName, String password, 
//								String email, String address,
//								int permissLevel, String major, String minor);
//	
//	/**
//	 * createNewCourse
//	 * @param name
//	 * @param semester
//	 * @param nameTeach
//	 * @param nameTA
//	 * @param daysHeld
//	 * @param credits
//	 * @param excerpt
//	 * @return true if course created in server successfully
//	 */
//	public boolean createNewCourse(String name, String semester, 
//									String nameTeach, String nameTA,
//									ArrayList<String> daysHeld, int credits,
//									String excerpt);
//
//	
//	
	/*
	 * capacity = 0;
		courseID = "";
		studentList = new ArrayList<User>();
		semester = "";
		year = 0;
		courseName = "";
		sectionNumber = 0;
		instructorName = "";
		teachingAssistantName = "";
		teachingLocation = new Location();
		daysHeld = new ArrayList<String>();
		timeHeld = new Time();
		numberOfWeeks = 0;
		numberOfTotalCredits = 0;
		courseExcerpt = "";
	 */
}
